#!/usr/bin/bash

grep -q "\-w /etc/sudoers -p wa -k scope
-w /etc/sudoers.d -p wa -k scope" /etc/audit/rules.d/audit.rules || echo -e "-w /etc/sudoers -p wa -k scope\n-w /etc/sudoers.d -p wa -k scope" >> /etc/audit/rules.d/audit.rules

augenrules --load